GrapeCity.CalcEngine.Functions Namespace > CalcChooseFunction Class > Evaluate Method : Evaluate(Object[]) Method |
The args contains 2 - 255 items: index_num, value1, [value2], ..
Index_num specifies which value argument is selected.
Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.
'Usage Dim instance As CalcChooseFunction Dim args() As Object Dim value As Object value = instance.Evaluate(args)
The args contains 2 - 255 items: index_num, value1, [value2], ..
Index_num specifies which value argument is selected.
Value1,value2,... are 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or text.
Target Platforms: Windows Server 2012, Windows RT